CC = gcc
CFLAGS = -Wall

all: prog2

prog2: prog2.c
	$(CC) $(CFLAGS) -o prog2 prog2.c

mytest: test.c
	$(CC) $(CFLAGS) -o mytest test.c

clean:
	rm -f prog2 mytest

